package com.tre.jdevtemplateboot.exception.business;

import com.tre.jdevtemplateboot.exception.global.SysBusinessException;
import com.tre.jdevtemplateboot.common.enums.ExceptionHandlerEnums;

public class SysInvalidUserException extends SysBusinessException {

    public SysInvalidUserException() {
        super(ExceptionHandlerEnums.INVALID_USER_ERROR.getMsg()
                , ExceptionHandlerEnums.INVALID_USER_ERROR.getStatus()
                , ExceptionHandlerEnums.INVALID_USER_ERROR.getCode());
    }

    public SysInvalidUserException(String message) {
        super(message
                , ExceptionHandlerEnums.INVALID_USER_ERROR.getStatus()
                , ExceptionHandlerEnums.INVALID_USER_ERROR.getCode());
    }

    public SysInvalidUserException(String message, Throwable cause) {
        super(message, cause,
                ExceptionHandlerEnums.INVALID_USER_ERROR.getStatus(),
                ExceptionHandlerEnums.INVALID_USER_ERROR.getCode());
    }

    public SysInvalidUserException(Throwable cause) {
        super(cause,
                ExceptionHandlerEnums.INVALID_USER_ERROR.getStatus()
                , ExceptionHandlerEnums.INVALID_USER_ERROR.getCode());
    }

}
